import axios from 'axios'

const instance = axios.create({
  baseURL: 'http://localhost:8888',
  timeout: 3000,
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded'
  }
})
instance.interceptors.response.use(res=>{
  return res.data
})


export default instance
